package com.mobile.challenge.dao;

import com.mobile.challenge.core.Mapper;
import com.mobile.challenge.model.SignUpRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SignUpRecordMapper extends Mapper<SignUpRecord> {

    List<SignUpRecord> queryByPhoneNoAndSingInDate (@Param(value = "phoneNo")String phoneNo, @Param(value = "singInDate")int singInDate);

    void updateStatusByPhoneNoAndSingInDate(@Param(value = "status")int status,@Param(value = "phoneNo")String phoneNo,@Param(value = "singInDate")int singInDate);
}